@page
@functions
{
    public IActionResult OnGet() => RedirectToPage("/Pages/Redirects/Redirect", new { id = 10});
}